import requests #导入requests库
headers = {
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36",
    # "Referer": "https://item.jd.com/16790621987.html",
}
data ={
    'code':"print('dddd')",
    "token": "4381fe197827ec87cbac9552f14ec62a",
     "language": 0,
    'fileext': 'py'
}
r = requests.post('https://tool.runoob.com/compile.php',headers=headers,data = data)
print(r.text)
